package cn.sz.tm.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.sz.tm.dao.AccountDao;
import cn.sz.tm.pojo.Account;
import cn.sz.tm.service.AccountService;
@Service
public class AccountServiceImpl implements AccountService {

	@Autowired
	private AccountDao accountDao;
	
	public List<Account> findAccByUserid(Integer userid) {
		if(userid==null) {
			return null;
		}
		return accountDao.findAccByUserid(userid);
	}
	

}
